﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Yes.Domain.Entity
{
    [Table("Icon")]
    public  class IconEntity : EntityBase
    {
        /// <summary>
        /// 后缀名
        /// </summary>
        [StringLength(20)]
        public string Ext { get; set; }

        /// <summary>
        /// 图片名
        /// </summary>
        [StringLength(50)]
        public string Img { get; set; }

        /// <summary>
        /// 是否允许上传
        /// </summary>
        public bool IsAllowUpload { get; set; }
    }
}
